using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ProgramMain.Framework;

namespace ProgramMain.Operators
{
    public partial class frmOperatorDetail : frmBase
    {
        private static string __strFormID = "OperatorDetails";

        public frmOperatorDetail()
        {
            InitializeComponent();
        }

        public static string GenerateOperatorDetailsIdent(int intObjectID)
        {
            return GenerateUniqueIdent(__strFormID, intObjectID);
        }

        private void frmOperatorDetail_DetailIDChanged(object sender, EventArgs e)
        {
            if (DetailID.HasValue)
            {
                UniqueIdent = GenerateOperatorDetailsIdent(DetailID.Value);
            }
            operatorDetailCtl1.DetailID = DetailID;
        }
    }
}